 <input id="cook_id" type="hidden" value="{php echo cookie('username')}"/>
 <script type="text/javascript">

 function logina(){
          var sma=$("#cook_id").val();
         
              if(sma){

                  return true;
              }else{
                  alert('你未登录，请登录后再评论');
				  window.location.href="index.php?g=Mobile&m=Login&a=index"; 
                  return false;
               }

	  }

</script>  
<!-- 共用尾部 -->
	 <div id="footer" class="index_footer">
		 <ul class="link clear">
			 <a href="index.php?g=Mobile&m=Page&a=index&id=11">关于我们</a> |
			<a href="index.php?g=Mobile&m=Page&a=index&id=23">联系我们</a> |
			<a href="index.php?g=Mobile&m=Help&a=index&id=22">帮助中心</a> |
			 <a href="index.php?g=Mobile&m=Page&a=index&id=13">法律声明</a> 
		 </ul>

		 <div class="info">
			 <p><a>© 2016 99cykj.com  餐饮空间网 保留所有权利</a> <a href="http://www.miitbeian.gov.cn/" target="_blank"><br />(粤ICP备16040004号)</a></p>
		 </div>
	 </div>

<!-- 固定申请定制 
	 <div class="customization">
		 <a href="index.php?g=Mobile&m=Guestbookadd&a=index">申请定制</a>
		 <span class="close">&times</span>
	 </div>-->

<!-- 侧边栏出现按钮 -->
	 <div class="slide_btn">
		 <span class="icon12"></span>
	 </div>
<!-- 遮罩层 -->
	 <div class="mask"></div>

<!-- 侧边栏导航 -->
	 <!--<div class="slide">
		 <div class="sprite_icon2">
			 <a href="index.php?g=Mobile" class="clear">
				 <span class="icon1 icon_com"></span><strong class="info">首页</strong> <em>></em>
			 </a>
		 </div>
		 <div class="sprite_icon2">
			 <a href="index.php?g=Mobile&m=Guestbookadd&a=index" class="clear">
				 <span class="icon2 icon_com"></span><strong class="info">申请定制</strong> <em>></em>
			 </a>
		 </div>
		 <div class="sprite_icon2">
			 <a href="index.php?g=Mobile&m=Case&a=index&id=2" class="clear">
				 <span class="icon3 icon_com"></span><strong class="info">效果图</strong> <em>></em>
			 </a>
		 </div>
		 <div class="sprite_icon2">
			 <a href="index.php?g=Mobile&m=Case&a=index&id=1" class="clear">
				 <span class="icon4 icon_com"></span><strong class="info">案例图</strong> <em>></em>
			 </a>
		 </div>
		 <div class="sprite_icon2">
			 <a href="index.php?g=Mobile&m=News&a=index&id=3" class="clear">
				 <span class="icon5 icon_com"></span><strong class="info">餐饮攻略</strong> <em>></em>
			 </a>
		 </div>
		 <div class="sprite_icon2">
			 <a href="index.php?g=Mobile&m=Yuyue&a=index&id=4" class="clear">
				 <span class="icon6 icon_com"></span><strong class="info">找设计师</strong> <em>></em>
			 </a>
		 </div>
		 <div class="sprite_icon2">
			 <a href="index.php?g=Mobile&m=Guestbook&a=index&id=5" class="clear">
				 <span class="icon7 icon_com"></span><strong class="info">业主需求</strong> <em>></em>
			 </a>
		 </div>
		 <div class="sprite_icon2">
			 <a href="index.php?g=Mobile&m=Product&a=index&id=6" class="clear">
				 <span class="icon8 icon_com"></span><strong class="info">餐饮设备</strong> <em>></em>
			 </a>
		 </div>
		 <div class="sprite_icon2">
			 <a href="index.php?g=Mobile&m=Zforum_theme&a=index&id=7" class="clear">
				 <span class="icon9 icon_com"></span><strong class="info">论坛</strong> <em>></em>
			 </a>
		 </div>
		 <div class="sprite_icon2">
			<a href="index.php?g=Mobile&m=User&a=index"  class="clear">
				 <span class="icon10 icon_com"></span><strong class="info">个人中心</strong> <em>></em>
			 </a>
		 </div>
		 <div class="sprite_icon2">
			 <a href="index.php?g=Mobile&m=News&a=index&id=8" class="clear">
				 <em>></em><strong class="info">新闻资讯</strong><span class="icon11 icon_com"></span> 
			 </a>
		 </div>

		 <i class="close"></i>
	 </div>-->    
     
     <div class="slide">
		 <div class="sprite_icon2">
			 <a href="index.php?g=Mobile" class="clear">
				 <em><</em> <span class="icon1 icon_com"></span><strong class="info">首页</strong>
			 </a>
		 </div>
		 <div class="sprite_icon2">
			 <a href="index.php?g=Mobile&m=Guestbookadd&a=index" class="clear">
				 <em><</em> <span class="icon2 icon_com"></span><strong class="info">发布需求</strong>
			 </a>
		 </div>
		 <div class="sprite_icon2">
			 <a href="index.php?g=Mobile&m=Case&a=index&id=2" class="clear">
				  <em><</em><span class="icon3 icon_com"></span><strong class="info">效果图</strong>
			 </a>
		 </div>
		 <div class="sprite_icon2">
			 <a href="index.php?g=Mobile&m=Case&a=index&id=1" class="clear">
				 <em><</em> <span class="icon4 icon_com"></span><strong class="info">案例图</strong>
			 </a>
		 </div>
		 <div class="sprite_icon2">
			 <a href="index.php?g=Mobile&m=News&a=index&id=3" class="clear">
				 <em><</em> <span class="icon5 icon_com"></span><strong class="info">餐饮资讯</strong>
			 </a>
		 </div>
		 <div class="sprite_icon2">
			 <a href="index.php?g=Mobile&m=Yuyue&a=index&id=4" class="clear">
				  <em><</em><span class="icon6 icon_com"></span><strong class="info">找设计师</strong>
			 </a>
		 </div>
		 <div class="sprite_icon2">
			 <a href="index.php?g=Mobile&m=Guestbook&a=index&id=5" class="clear">
				  <em><</em><span class="icon7 icon_com"></span><strong class="info">业主需求</strong>
			 </a>
		 </div>
		 <div class="sprite_icon2">
			 <a href="index.php?g=Mobile&m=Product&a=index&id=6" class="clear">
				  <em><</em><span class="icon8 icon_com"></span><strong class="info">餐饮设备</strong>
			 </a>
		 </div>
		 <div class="sprite_icon2">
			 <a href="index.php?g=Mobile&m=Zforum_theme&a=index&id=7" class="clear">
				  <em><</em><span class="icon9 icon_com"></span><strong class="info">论坛</strong>
			 </a>
		 </div>
		 <div class="sprite_icon2">
			<a href="index.php?g=Mobile&m=User&a=index"  class="clear">
				 <em><</em><span class="icon10 icon_com"></span><strong class="info">个人中心</strong> 
			 </a>
		 </div>
		 <div class="sprite_icon2">
			 <a href="index.php?g=Mobile&m=News&a=index&id=8" class="clear">
				 <em><</em><span class="icon11 icon_com"></span> <strong class="info">新闻资讯</strong>
			 </a>
		 </div>

		 <i class="close"></i>
	 </div>

<!--搜索弹出-->
<style>
 .search_a{
	width:100%;
    height: 100px;
    background: #fff;
    position: fixed;
    top: 50px;
	left:-120%;
	padding: 10px 0 0 9px;
    z-index: 9999;}
	
	
	
	
.search_a .close1{    
    position: absolute;
    width: 24px;
    height: 24px;
	margin:auto;
    background: url("../Public/images/icon2.png") no-repeat -26px -139px;
    background-size: 50px 209px;
    left:45%;
    bottom: 10px; }
.tex{ background:#FFFFFF; width: 50%; height:21px; line-height:21px; padding:12px 0;text-indent:20px;  color:#c3c3c3; float:left;border: 2px solid #604328; border-left: none; }
.sub{ background:#604328; width: 20%; height:49px; font-size: 14px; color:#fff; float:left; border: none;}
.wz_r{float: left;   height:45px; text-align: center; margin-top:0px;border-left: 2px solid #604328;border-bottom: 2px solid #604328; border-top: 2px solid #604328; border-right: none;}
#idState{ height:45px;width: 25%; margin: 0 auto; text-align: center; background: url('../Public/images/top4.png') 100% 50% no-repeat; }
#idState p{ font-size: 14px; line-height:45px; margin: 0 auto; text-align: center; border-right: 1px solid #ddd; }
#idState li{ display: none; z-index: 99;position: relative; line-height:22px; padding-bottom: 10px; margin: 0 auto; text-align: center; border-left:1px solid #ddd;border-right:1px solid #ddd; background: #fff; }
#idState li a{display:block; width:100%; line-height:22px;  }
#idState li:hover a{ color:#f00; }

.ss1 { float: left; margin-left: 25px; }
.ss1 a{ display: block; font-size: 14px; width: 179px; line-height: 49px; color:#fff; text-align:center; background: #604328;}

.ss2{width: 179px; height: 49px; float: left; margin-left: 25px;}
.ss2 img{width: 179px; height: 49px;}

.xdh{width: 870px;  height: 30px; margin-left: 30px; margin-top: 34px; float: left;}	
input{ font-family:微软雅黑}	

</style>

<div class="search_a">
		 <form cation="/index.php?" method="get" id="search_h" onSubmit="return zhuzi();">
             <input type="hidden"  name="g" value="Mobile"/>
             <input type="hidden"  name="m" value="Search"/>
                 <ul id="idState" class="wz_r" style="border-bottom-left-radius:10px;border-top-left-radius:10px;" >
                  <input id="date" type="hidden" name="module" value="{$search_m}" /><!-- 搜索表名 -->
                  <input id="catid" type="hidden" name="catid" value="{$search_catid}" />
                  <input id="m_name" type="hidden" name="m_name" value="{$m_name}" />
                  <p id="text1">{if $m_name}{$m_name}{else}请选择&nbsp;{/if}</p>
                  <li><a title="case" name="1" href="javascript:getval('案例图&nbsp;')">案例图</a></li>
                  <li><a title="case" name="2" href="javascript:getval('效果图&nbsp;')">效果图</a></li>
                  <li ><a title="user" name="4" href="javascript:getval('设计师&nbsp;')">设计师</a></li>
                  <li ><a title="product" name="6" href="javascript:getval('餐饮设备&nbsp;')">餐饮设备</a></li>
                  <li ><a title="Zforum_theme" name=""  href="javascript:getval('帖子&nbsp;')">帖子</a></li>
                </ul> 
                <input type="text" name="keyword" id="search_con" placeholder="搜索你想找的内容" class="tex" />
                <input type="submit" value="搜索" class="sub" id="search_sub" style="border-bottom-right-radius:10px;border-top-right-radius:10px;"  />

                <div class="clear"></div>
          </form>
          <i class="close1"></i>
	 </div>
     
     
<script>
  $('#idState').mouseover(function(){
    $(this).children('li').css('display','block');
  });
  $('#idState').mouseout(function(){
    $(this).children('li').css('display','none');
  });
         
function sele(){
	var p1=$("#search_se").val();
	//alert(p1);
	var title=$("#search_se option:selected").attr('title');
	var name=$("#search_se option:selected").attr('name');
	       $('#date').attr('value',title);
		   $('#catid').attr('value',name);
	}//



		 
		 
		  //点击地址 搜索
        function getval(vals){

            $('#text1').html(vals);
			 $('#idState').children('li').css('display','none');
        }
        $('#idState li').click(function(){
         //alert($(this).children('a').attr('title'));
          $('#date').attr('value',$(this).children('a').attr('title'));
		   $('#catid').attr('value',$(this).children('a').attr('name'));
		   $('#m_name').attr('value',$(this).children('a').html());
        });
	  function zhuzi(){
		
	        var type=$('#date').val();
            var contnet=$('#search_con').val();
			
          if(type){
              if(contnet && contnet!='搜索你想找的内容'){

                  return true;
              }else{
                  alert('请输入您要搜索的内容');
                  return false;

              }

          }else{
              alert('请选择您要搜索的栏目');
              return false;

          }


	  }
	  
	 /* 侧边栏的出现和隐藏 */
	 ( function(){
		 var oBtn1 = $(".search .icon2");
		 var oSlide1 = $(".search_a");
		 var oClose1 = oSlide1.find(".close1");
		 var oMask1 = $(".mask");

		 oBtn1.click( function(){
			 $(this).animate( {"left":"0"},500 );
	         oSlide1.animate( {"left":"0"},500 );
			 oMask1.show();
		 } )

		 oClose1.click( function(){
			 oSlide1.animate( {"left":"-120%"},500 );
			 oBtn1.animate( {"left":"3.6%"},500 );
			 oMask1.hide();
		 } )
		oMask1.click( function(){
			 oSlide1.animate( {"left":"-120%"},500 );
			 oBtn1.animate( {"left":"3.6%"},500 );
			 oMask1.hide();
		 } )
	 } )(); 
		
</script>

<!-- banner 滑动 -->
{if $module_name!="Case"}
	<script type="text/javascript" src="../Public/js/idangerous.swiper-2.1.min.js"></script>
     <script type="text/javascript">
		 var mySwiper = new Swiper('.swiper-container',{
			 pagination:'.pagination',
			 calculateHeight:true,
			 loop:true,
			 paginationClickable:true,
			 autoplay:3000,
			 autoplayDisableOnInteraction:false,
			 roundLengths:true
         })
     </script>
  {/if}   
     
     <!-- tab的滑动 -->
	<script type="text/javascript" src="../Public/js/iscroll.js"></script>
     <script type="text/javascript">
	     function loaded () {
			 var myScroll = new IScroll('#wrapper', {
				 click:true,
				 scrollX: true,
				 scrollY: false
	         });
         }
     </script>

     <script type="text/javascript" src="http://www.cubead.cn:7070/recv/visit.do?tenantid=220295&site=www.99cykj.com"></script><script type="text/javascript" language="javascript" src="http://ca.cubead.com/cubead_ca.js"></script><script type="text/javascript"> _traker._init('www.99cykj.com','220295'); </script> 
 <script type="text/javascript"> var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://"); document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F25347fde86aefbd82f06c2ae872f2689' type='text/javascript'%3E%3C/script%3E")) </script>   
<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "//hm.baidu.com/hm.js?1042d47b39de50688759ee9519c6e32c";
  var s = document.getElementsByTagName("script")[0];
  s.parentNode.insertBefore(hm, s);
})();
</script> 
     
     <script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1261995041'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s13.cnzz.com/z_stat.php%3Fid%3D1261995041%26show%3Dpic' type='text/javascript'%3E%3C/script%3E"));</script>
     
 </body>
</html>
<script type="text/javascript" src="//s.union.360.cn/62641.js"></script>
